Installing an application

Questions about applications and software
Forum rules
Before you post please read how to get help
Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Installing an application

Postby Roger Bird » Wed Nov 14, 2012 9:34 pm

I have this file called xflux.tgz. I want to install it somewhere so that I can use it. Owning it is not very much fun. I want to actually use it. I used to be familiar with Unix and used it rarely. I have no clue how to install something. I don't even know where to look.

coolpup69ca
Level 1
Level 1
Posts: 5
Joined: Fri Nov 16, 2012 7:46 pm

Re: Installing an application

Postby coolpup69ca » Sat Nov 17, 2012 3:23 pm

xflux.tgz is an archive, and can't be run/installed as is. You'll need to unarchive it first by doing this:

Code: Select all

tar zxvf xflux.tgz
. That'll extract the contents of the .tgz file, and then you can do more with the result.

Hope that helps.

Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Re: Installing an application

Postby Roger Bird » Sat Nov 17, 2012 4:04 pm

This is all that I get:

roger@roger-G41M-ES2H ~ $ tar zxvf xflux.tgz
xflux
roger@roger-G41M-ES2H ~ $

I did learn what tgz means, sort of. Like a zip file?

coolpup69ca
Level 1
Level 1
Posts: 5
Joined: Fri Nov 16, 2012 7:46 pm

Re: Installing an application

Postby coolpup69ca » Sun Nov 18, 2012 3:45 am

A .tgz file is something that has been compressed with both GZip and tar.

Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Re: Installing an application

Postby Roger Bird » Sun Nov 18, 2012 6:35 pm

So, it is in my /home/roger folder. When I click on it, nothing happens. When use the terminal and do any of "sudo xflux", "sudo xflux.exe, or "sudo xflux.com", I get "command not found", with or without the "sudo". When I do "dir", I can see "xflux" in the directory/folder.

elp
Level 1
Level 1
Posts: 19
Joined: Tue Nov 08, 2011 8:18 am

Re: Installing an application

Postby elp » Sun Nov 18, 2012 8:32 pm

Try:

Code: Select all

sudo cp xflux /usr/local/bin
and after that

Code: Select all

xflux

Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Re: Installing an application

Postby Roger Bird » Sun Nov 18, 2012 8:44 pm

This doesn't look good:

roger@roger-G41M-ES2H ~ $ sudo cp xflux /usr/local/bin
[sudo] password for roger:
roger@roger-G41M-ES2H ~ $ xflux
bash: /usr/local/bin/xflux: No such file or directory
roger@roger-G41M-ES2H ~ $

elp
Level 1
Level 1
Posts: 19
Joined: Tue Nov 08, 2011 8:18 am

Re: Installing an application

Postby elp » Mon Nov 19, 2012 5:52 am

weird. Maybe you need to chmod it to be executable first...

Code: Select all

sudo chmod +x  /usr/local/bin/xflux

cwsnyder
Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Installing an application

Postby cwsnyder » Mon Nov 19, 2012 8:20 am

Look at http://www.control-escape.com/linux/lx-swinstall.html and the section on installing from Tar Balls. You will probably need to find the README file or possibly go back where you got the tarball to find how to properly install. You may only have the compiled source and need to link the binary to the proper libraries to work.
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit

Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Re: Installing an application

Postby Roger Bird » Tue Nov 20, 2012 4:12 pm

elp, I got this doing your suggestion:

roger@roger-G41M-ES2H ~ $ sudo chmod +x /usr/local/bin/xflux
roger@roger-G41M-ES2H ~ $


"cwsnyder: Look at http://www.control-escape.com/linux/lx-swinstall.html and the section on installing from Tar Balls. You will probably need to find the README file or possibly go back where you got the tarball to find how to properly install. You may only have the compiled source and need to link the binary to the proper libraries to work."

This is way over my head.

elp
Level 1
Level 1
Posts: 19
Joined: Tue Nov 08, 2011 8:18 am

Re: Installing an application

Postby elp » Tue Nov 20, 2012 7:24 pm

So after you chmod the file did you try typing xflux ?

Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Re: Installing an application

Postby Roger Bird » Tue Nov 20, 2012 7:33 pm

Thank you for holding my hand and babying me.

roger@roger-G41M-ES2H ~ $ xflux
bash: /usr/local/bin/xflux: No such file or directory
roger@roger-G41M-ES2H ~ $

That is what I did and what I got. Do I need to change directories or something.

Rjoger

elp
Level 1
Level 1
Posts: 19
Joined: Tue Nov 08, 2011 8:18 am

Re: Installing an application

Postby elp » Tue Nov 20, 2012 7:44 pm

Just for curiosity, what tells the output if you type:

Code: Select all

file /usr/local/bin/xflux

Roger Bird
Level 2
Level 2
Posts: 98
Joined: Fri Nov 02, 2012 11:58 pm

Re: Installing an application

Postby Roger Bird » Tue Nov 20, 2012 7:54 pm

roger@roger-G41M-ES2H ~ $ file /usr/local/bin/xflux
/usr/local/bin/xflux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0xd494200b1064fdf1f6a2eb0c06f67f1a8cccf1f6, not stripped
roger@roger-G41M-ES2H ~ $

I have no idea what all that means. Would you believe that I used to be a software engineer? I even used Unix a very few times.

Roger

User avatar
TheDynamicHamza21
Level 5
Level 5
Posts: 795
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Installing an application

Postby TheDynamicHamza21 » Wed Nov 21, 2012 12:14 pm

xflux is the linux version of F.lux is it not? You can try the instructions on the site but around the web I noticed others had a problem installing the gui?

http://stereopsis.com/flux/linux.html

Also you try RedShift which supposely has similar functionality.

https://launchpad.net/~jonls/+archive/redshift-ppa

there's also a redshiftgui someone created for easier installing.

https://github.com/maoserr/redshiftgui/downloads
Linux Registered User: # 573034

www.domeshotsandfatlaces.com


Return to “Software & Applications”

Who is online

Users browsing this forum: Oscar799 and 14 guests