Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: AttractiveRuss on March 15, 2017, 11:12:38 PM

Title: Installing in Linux
Post by: AttractiveRuss on March 15, 2017, 11:12:38 PM
I have Mame installed and working but sorry I know I'm being very stupid but how do you install attractmode on Linux? I using Lubuntu and I'm a novice with Linux.

I did this

sudo add-apt-repository ppa:daveg/attract
sudo apt-get update

And....? Where is Attractmode? :-[

What further steps do I need?


Cheers Russell
Title: Re: Installing in Linux
Post by: hermine.potter on March 16, 2017, 01:08:39 AM
@AttractiveRuss

on ubuntu and all derivative:

sudo add-apt-repository ppa:daveg/attract
sudo apt-get update
sudo apt-get install attract
sudo apt-get upgrade

to start attract, just type this command in terminal:
attract
Title: Re: Installing in Linux
Post by: AttractiveRuss on March 16, 2017, 10:46:10 AM
Thank you for that. It is installed. I did have to put sudo -i for some reason it didn't want to accept my password so if any other users have the same problem try that!
Title: Re: Installing in Linux
Post by: jedione on July 08, 2020, 07:47:05 AM

when i try this,

sudo add-apt-repository ppa:daveg/attract

i get this

sudo: add-apt-repository: command not found

any help
Title: Re: Installing in Linux
Post by: keilmillerjr on July 08, 2020, 07:15:23 PM

when i try this,

sudo add-apt-repository ppa:daveg/attract

i get this

sudo: add-apt-repository: command not found

any help
PPA repo does exist: https://launchpad.net/~daveg/+archive/ubuntu/attract

Do you have apt installed? Debian or Ubuntu? If the answer is no, compiling from source is always a good option.
Title: Re: Installing in Linux
Post by: akafox on July 11, 2020, 01:41:11 PM
AttractiveRuss

I agree the best way you do that is to compile it. I run AM on linux myself runs just fine. The wiki https://github.com/mickelson/attract/wiki/Compiling-on-Ubuntu-Bionic-Beaver-%2818.04-LTS%29-amd64-desktop (https://github.com/mickelson/attract/wiki/Compiling-on-Ubuntu-Bionic-Beaver-%2818.04-LTS%29-amd64-desktop) is easy to follow. if you have problems pm I can help you.

Make sure you install ALL of the dependency files!

then type make

after it is made type sudo make install (you WILL have to root that to "install" it) but before you do that you can type

Code: [Select]
./attract
and run it from the build folder
you don't even have to install it....after you sudo to install you can run it from any user WITHOUT the sudo

that is a . DOT then slash / then the word attract