LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install things, lol (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-things-lol-136714/)

ToR_Kristian 01-20-2004 10:25 AM

Can't install things, lol
 
hey guys. how can i install things on linux ( Slackware ) . i tryed to install AMSN but it coms ERROR. >>

root@ToR:~# gzip -d amsn-x_xx.tar.gz
gzip: amsn-x_xx.tar.gz: No such file or directory
root@ToR:~# tar xvf amsn-x_xx.tar
tar: amsn-x_xx.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@ToR:~#

i think i need to download a zip thing , but i can't remeber what it was called. :p
and this stands on help in AMSN.

If wish command doesn't exist, then you don't have tcl/tk correctly installed.
If "wish amsn" works, but "./amsn" doesn't, edit 'amsn' file and set the.

so can some1 help me? Im a :newbie: hehe
and i really dont know to install things...... :study: i are reading the book but.... it can't help me whit that i need help to, so i are asking here. can some1 help me whit it? how can i Install AMSN or whatever i need to install. :scratch:

THank u.

XavierP 01-20-2004 10:35 AM

First thing: you are running as root - that is inherently unsafe. Copy your zipped file to your real home directory and log out and back in as a normal user.
Then: in a terminal, cd to where the file is saved, type in 'tar - zxvf amsn*.tar.gz.
Then: still in a terminal, cd to the new amsn directory and type in: ./amsn
Amsn then start.

ToR_Kristian 01-20-2004 10:41 AM

but an other problem. I have only used root....... so i dont know where i can get an other user.

ToR_Kristian 01-20-2004 11:09 AM

i know that i must make an file ..... but i can't remeber it, how to do it!so i need littlebit help. :P

aaa 01-20-2004 11:40 AM

For user problem:
'adduser ToR'
Login a ToR from now on. Use 'su -' command to switch to root temporarliy.
'su -c "[program]" ' runs a program as root.
Download amsn slack package:
http://aleron.dl.sourceforge.net/sou...-i386-2plw.tgz
Run 'su -c "installpkg amsn-0.83-i386-2plw.tgz" '
That's all. If you insist on compiling from source ( the *.tar.gz 'tarball'), note that the 'x's in the commands provided on their site represent the version numbers that change alot.

aaa 01-20-2004 11:48 AM

Quote:

i know that i must make an file ..... but i can't remeber it, how to do it!so i need littlebit help. :P
For compiling (i'm guessing the name of the file):
First save the download to a certain folder (say /home/ToR). Then 'cd' to that folder:
cd /home/ToR
tar -xvzf amsn-0.83-i386-2plw.tar.gz (note the numbers instead of x's. The 'z' option for tar automatically ungzips the file too)
cd amsn-0.83-i386-2plw (Another guess at the foldername, use 'ls' to check if it doesn't work)
make (This compiles)
make install (This installs)

XavierP 01-20-2004 11:49 AM

I think you also may want to check out RUTE. This will give you a good all round knowledge of the Linux system and it's commands. You will also get a good idea of why you should not run as root and how & why a user account should be set up.

ToR_Kristian 01-20-2004 12:18 PM

i got a new user now :) thanx guys!

ToR_Kristian 01-20-2004 12:19 PM

Quote:

Originally posted by aaa
For user problem:
'adduser ToR'
Login a ToR from now on. Use 'su -' command to switch to root temporarliy.
'su -c "[program]" ' runs a program as root.
Download amsn slack package:
http://aleron.dl.sourceforge.net/sou...-i386-2plw.tgz
Run 'su -c "installpkg amsn-0.83-i386-2plw.tgz" '
That's all. If you insist on compiling from source ( the *.tar.gz 'tarball'), note that the 'x's in the commands provided on their site represent the version numbers that change alot.



when i did as u said come only a sign like this >

tor_kristian@ToR:~$ Run 'su -c "installpkg amsn-0.83-i386-2plw.tgz
>

frandalla 01-20-2004 12:27 PM

You should have typed:

su -c "installpkg amsn-0.83-i38602plw.tgz"

ToR_Kristian 01-20-2004 12:53 PM

okey.. i will try, thanx

ToR_Kristian 01-28-2004 02:25 PM

Quote:

Originally posted by frandalla
You should have typed:

su -c "installpkg amsn-0.83-i38602plw.tgz"

I are Running as Root now... but anyway :::


root@ToR:~# su -c "installpkg amsn-0.83-i38602plw.tgz
>


Got the same on that one to .... mabe easyer if i download a zip ?
:confused: :(

caid 01-28-2004 02:39 PM

you're still forgetting the last " at the end.

you should type:


su -c "installpkg amsn-0.83-i38602plw.tgz"


caid

ToR_Kristian 01-28-2004 02:50 PM

then this come up...

root@ToR:~# su -c "installpkg amsn-0.83-i38602plw.tgz"
Cannot install amsn-0.83-i38602plw.tgz: package does not end in .tgz
root@ToR:~#
root@ToR:~#
root@ToR:~#

caid 01-28-2004 03:01 PM

is it actually a .tgz file?

if not, if it's say, amsn-0.83-i386-2plw.tar.gz

then you need to do as aaa said above and type:

tar -xzvf amsn-0.83-i386-2plw.tar.gz

or

tar -xzvf filename.tar.gz


caid


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