Installing tarballs

If none of the more specific forums is the right place to ask

Installing tarballs

Postby Andruk Tatum » 2006-04-24 18:14

Can somebody explain, in excruciating detail, ho to install tarballs?
I'm trying to get Macromedia Flash and a few other things.
Thanks!
"Resistance against tyranny is obedience to God"
-Harriet Tubman

That's why I'm using Debian.
Andruk Tatum
 
Posts: 18
Joined: 2006-04-06 23:39

Postby Bulkley » 2006-04-24 20:49

Andruk Tatum wrote:Can somebody explain, in excruciating detail, ho to install tarballs?


Good question. I have nothing but trouble with them, unless they are totally inclusive. Otherwise, they are dependency hell.

I would amend your question to: Can somebody explain, in excruciating detail, how to install tarballs to Debian?

BTW, have you tried to apt-get these:

flashplayer-mozilla
flashplugin-nonfree
Bulkley
 
Posts: 5831
Joined: 2006-02-11 18:35

Postby Red » 2006-04-24 21:56

From source
1.tar zxvf SOMETHING.tar.gz
2. cd SOMETHING/
3. ./configure
4. make
6. make install

From deb:
Code: Select all
dpkg -i SOMETHING.deb


From files with extension .run
Code: Select all
sh something.run


Good luck!
User avatar
Red
 
Posts: 69
Joined: 2006-04-20 12:36

Postby Bulkley » 2006-04-24 23:18

Red wrote:From source
1.tar zxvf SOMETHING.tar.gz
2. cd SOMETHING/
3. ./configure
4. make
6. make install


What is step 5.? I think it is: su to root.

Red, your process is exactly like mine, yet it is amazing how often it produces a product that just doesn't work. I really do prefer apt-get.
Bulkley
 
Posts: 5831
Joined: 2006-02-11 18:35

Postby Red » 2006-04-24 23:35

Sorry about my omit. The truth steps are
From source
1.tar zxvf SOMETHING.tar.gz
2. cd SOMETHING/
3.su
4. ./configure
5. make
6. make install
aptitude and dselect is my favorite soft for you
User avatar
Red
 
Posts: 69
Joined: 2006-04-20 12:36

Hmph.

Postby Andruk Tatum » 2006-04-25 10:00

Well, it wasn't working for me earlier. But seeing as how it's 3:59am in my time zone right now, and I have a Calc. test later today, it was probably me.

Your post did clear up a few things, though, thanks.
Such as:
do we have to type in the entire filename when doing ./configure ?
Now I know that the answer is no, you just have to change the directory to it.
THANK YOU!
"Resistance against tyranny is obedience to God"
-Harriet Tubman

That's why I'm using Debian.
Andruk Tatum
 
Posts: 18
Joined: 2006-04-06 23:39

Postby Red » 2006-04-25 13:50

Code: Select all
./configure

It's check your system for needed libs!

Code: Select all
make

It's complie source.

Code: Select all
make install

It's install software.

Each source package have own's option. As an example is mplayer. For default ( text ) installation the command is
Code: Select all
./configure

but for GUI version
Code: Select all
./configure --enable-gui


Before you begin with install ,you must read all readme files furst!
User avatar
Red
 
Posts: 69
Joined: 2006-04-20 12:36

Step 2...

Postby Andruk Tatum » 2006-05-17 09:47

So, when you ust do the tar SOMETHING.tar.gz, you have to include the file path. I know that now.

So, where does it extract to, because the tarball was on my desktop, it seems logical that it extracted there, but I don't see the folder, and doing it through the command prompt doesn't see it either. That's where I was getting hung up before, I just didn't think that it was working at all.

So, where does it extract to by default? Do I have to specify this?
-Thanks, this has helped!
"Resistance against tyranny is obedience to God"
-Harriet Tubman

That's why I'm using Debian.
Andruk Tatum
 
Posts: 18
Joined: 2006-04-06 23:39

Postby Grifter » 2006-05-17 13:17

Or better yet, create a deb file from mplayer!

apt-get install fakeroot debhelper liblogfile-rotate-perl libconfhelper-perl

tar jxf essential.tar.bz2
mv essential-codecs/ /usr/lib/win32
tar jxf MPlayer.version.tar.bz2
cd MPlayer.version/

DEB_BUILD_OPTIONS="--disable-runtime-cpudetection --disable-rtc" fakeroot debian/rules binary

et voila

or if you think as I do that's a bit long to type every time, I added it as an alias to root's ~/.bashrc

Code: Select all
alias debmplaycc='DEB_BUILD_OPTIONS="--disable-runtime-cpudetection --disable-rtc" fakeroot debian/rules binary'
Eagles may soar, but weasels don't get sucked into jet engines...
Grifter
 
Posts: 1572
Joined: 2006-05-04 07:53
Location: Svea Rike

Postby Grifter » 2006-05-17 13:25

the contents of the tar file will be in the directory where you performed the tar command

example, your friend sent you blahblah.tar.bz2 in xchat, it ended up in the default xchat download dir, and it's a game, and you want to unpack it into /usr/local/games/

first cd /usr/local/games

now, you're unsure if your friend has packed down the game with its own dirname, and you do NOT want a big mess of files right in your games root dir, so if you're lazy mkdir a new dir and unpack it there just to be safe, tehn you can always move it on down if indeed there was a subdir name, and if there wasn't, well then you just rename your temp dir to the proper name, you lucky dog!

or you can run tar tvf on the tar file to see its contents (note that if it's packed with gzip you need to add a z switch, and if it's packed with bzip2 you need to add a j switch, tar jtvf, tar ztvf, regardless of if you're unpacking it (x) or viewing its contents (t), you don't really need "v" in there, but "f" is required

tar jtvf /home/yourluser/.xchat2/downloads/blahblah.tar.bz2

ok time to unpack it for real then

but remember, type pwd, to find out where you are

/usr/local/games/ ah indeed, that's where you're supposed to be, ok, ready to unpack

tar jxvf /home/yourluser/.xchat2/downloads/blahblah.tar.bz2


WEEEEEEEEEEEEEeeeeeeeeeeeeeeeeee
Eagles may soar, but weasels don't get sucked into jet engines...
Grifter
 
Posts: 1572
Joined: 2006-05-04 07:53
Location: Svea Rike


Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable