Installing an application
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Installing an application
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Installing an application
xflux.tgz is an archive, and can't be run/installed as is. You'll need to unarchive it first by doing this: . That'll extract the contents of the .tgz file, and then you can do more with the result.
Hope that helps.
Code: Select all
tar zxvf xflux.tgz
Hope that helps.
Re: Installing an application
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?
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?
Re: Installing an application
A .tgz file is something that has been compressed with both GZip and tar.
Re: Installing an application
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.
Re: Installing an application
Try:
and after that
Code: Select all
sudo cp xflux /usr/local/bin
Code: Select all
xflux
Re: Installing an application
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 ~ $
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 ~ $
Re: Installing an application
weird. Maybe you need to chmod it to be executable first...
Code: Select all
sudo chmod +x /usr/local/bin/xflux
Re: Installing an application
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.
Re: Installing an application
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.
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.
Re: Installing an application
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
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
Re: Installing an application
Just for curiosity, what tells the output if you type:
Code: Select all
file /usr/local/bin/xflux
Re: Installing an application
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
/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
-
- Level 5
- Posts: 798
- Joined: Thu Oct 04, 2012 7:24 pm
- Location: California
- Contact:
Re: Installing an application
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
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