Installing an application

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Roger Bird

Installing an application

Post by Roger Bird »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
coolpup69ca

Re: Installing an application

Post by coolpup69ca »

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

Re: Installing an application

Post by Roger Bird »

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

Re: Installing an application

Post by coolpup69ca »

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

Re: Installing an application

Post by Roger Bird »

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

Re: Installing an application

Post by elp »

Try:

Code: Select all

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

Code: Select all

xflux
Roger Bird

Re: Installing an application

Post by Roger Bird »

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

Re: Installing an application

Post by elp »

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

Code: Select all

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

Re: Installing an application

Post by 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.
Roger Bird

Re: Installing an application

Post by Roger Bird »

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

Re: Installing an application

Post by elp »

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

Re: Installing an application

Post by Roger Bird »

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

Re: Installing an application

Post by elp »

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

Code: Select all

file /usr/local/bin/xflux
Roger Bird

Re: Installing an application

Post by Roger Bird »

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
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Installing an application

Post by TheDynamicHamza21 »

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

Hamza21.com
Locked

Return to “Software & Applications”