LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install a conky targz (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-a-conky-targz-746299/)

decksmasher 08-09-2009 05:50 PM

how to install a conky targz
 
please can someone help me install conky.things 0.0.2 from softpedia.
im using ubuntu ultimate edition 2.1. ive down loaded to my desktop so the location is /home/richard/desktop/conky-config.

i went in to the terminal and done the apt-get install command in root wth no joy,?
ive also tried $ ./-zxvf file tar.gz when i do this i get an error back ($;command not found)?... ive also tried $./configue

i no im doing some thing wrong but im not quite sure what it is?



regards dex

jrtayloriv 08-09-2009 07:28 PM

When you did this:
Code:

./-zxvf file tar.gz
... you probably meant to do this:
Code:

tar -xvzf file.tar.gz
... but from the looks of it, it seems like you need to read this before you do any of that.

--jrtayloriv

decksmasher 08-10-2009 07:24 AM

Thats a great help thanks. but when i tried this i got an error message back?. its in the screen shot.
it does have an exstention wich i didn't mention before.89546-conky-config.tar.bz2

The location of the file is /home/richard/dls

# tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)
# cd package
# ./configure
# make
# make install

i no this is what i have to write, but i cant get past the first command line without an error message?

so when i type tar xvjf package.tar.bz2)i get this message.?

richard@decksmasher:~$ tar xvjf package.tar.bz2
tar: package.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors


regards Dex

knudfl 08-10-2009 04:07 PM

Conky : The latest version is 1.7.1.1
http://conky.sourceforge.net/

The official version for Linux Mint is probably 1.6.xx
... to be installed with the package manager ( = Synaptic ? )
or with the command : apt-get install conky

The version from Softepedia is a very old one, don't use it !

Using tar : tar xvf <package>
means, you have to replace package with the real name, like :
tar xvf conky-1.7.1.1.tar.bz2

But usually no need to use tar.xx packages : Probably 10,000
packages or more available from the package manager → → →
which is the way software is installed in Mint.
.....

decksmasher 08-10-2009 07:46 PM

now thats what im talking about .....thank you!

im still having loads of trouble! ive done everything i no how! and read and its still giving me an error message. ive taken a screen shot to show you what ive done.
The easy thing would be to give up on this but im not!, i love linux and what it stands for, but i am a noob so you will have to bare with me, thanks again for all your help.
(extract from read me.)
It doesn't matter where you put the tarballs you download from the internet but I suggest creating a special directory for downloaded tarballs. In this tutorial I assume you keep tarballs in a directory called dls that you've created under your home directory. However, the dls directory is just an example. You can put your downloaded tar.gz or tar.bz2 software packages into any directory you want. In this example I assume your username is me and you've downloaded a package called pkg.tar.gz into the dls directory you've created (/home/me/dls).
ive done this and downloaded conky in to the folder../home/richard/dls
but its still giving me an error message...theres (no file or directory?)
where am i going wrong?

regards Dex

knudfl 08-12-2009 08:10 AM

To get a working conky , please do the commands :
1) su , password
2) apt-get install conky

Using tarballs is last resort, in order not to end up with
a messy system.

.....
Using a tarball : tar xvf dls/<name-of-tarball>
... and it will unpack to /home/me/

Or : a) cd dls/
b) tar xvf <name-of-tarball>
... will then be unpacked in me/dls/

Then to the most used method :
a) mkdir tmp
... getting you a directory /home/me/tmp/
b) cd tmp/
c) tar xvf ../dls/<name-of-tarball>
... and again the tarball is unpacked to the current directory,
which is your location, decided with the command 'cd' .
If you do not change directory = cd , your location is /home/me/
.....

decksmasher 08-12-2009 04:35 PM

ive tried what you have told me and still i cant get it to download.

regards dex

karamarisan 08-12-2009 04:46 PM

Not quite. Please read everything you get here very carefully.
Quote:

Originally Posted by knudfl (Post 3640432)
To get a working conky , please do the commands :
1) su , password
2) apt-get install conky

Since this is Ubuntu, I think you can do this instead:
Code:

sudo apt-get install conky
This is instead of using the .tar.gz file. What you got is an archive (like a .zip) of the source code for conky. This is a fine way to distribute software, but it's preferable to use your distro's built-in tools for getting customized binaries - that's what apt-get does for you.

But don't just blindly do what we tell you and wonder why you're having trouble. Think about the commands you're running and the arguments you're passing to them - why didn't `tar xvjf package.tar.bz2` work?

The most important command you will ever learn is `man`; run man on the name of any other program and you will get plenty of detailed info on how it works. Try `man man` and `man sudo`, and get in the habit of reading those. You'll never learn if you don't do your own research.

decksmasher 08-13-2009 04:58 PM

i no how to get the conky wich is in ubuntu, sudo -s password apt-get install conky.

but i wanted conky things, this has more on it and looks a lot better, so i downloaded it from sourceforge as a tarball but for the life of me i just cant get it to install.?

if you look in my first post you will see the conky i downloaded, as you can see there is a lot more to it than the standered version thats in ubuntu, its more like the version thats in backtrack 4.

regards dex

windtalker10 08-13-2009 07:35 PM

Firstly,, it's a .conkyrc file,,, you don't install it.

Quote:

Conky Things description

A conkyrc file for the great Conky tool and some useful files.
.conkyrc = .[hidden] conky [obvious] rc [run command]

If it's still packed/compressed, you can unpack it by right clicking on it and selecting extract here, assuming Ubuntu has that built in option.
I dunno, I run Slack.
If not then:

cd /path/to/file tar -zxf name of file

When it extracts, open it with a text editor and look at it.

The top few lines should be something similar to:

#

alignment top_right
background no
border_width 10
border_margin 9
cpu_avg_samples 2
default_color #cccccc
default_outline_color black
default_shade_color black
draw_borders no

and further down should be a line that simply says text.

Hopefully it does.
If so, move the script to your home folder and make sure it's named .conkyrc.
Open a terminal and type conky.
If it's a good conkyrc file, it will run.
If not, it's an incomplete script.


All times are GMT -5. The time now is 05:23 AM.