Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing tarballs

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Andruk Tatum
Posts: 18
Joined: 2006-04-06 23:39

Installing tarballs

#1 Post by Andruk Tatum »

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.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

#2 Post by Bulkley »

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

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

#3 Post by Red »

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!

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

#4 Post by Bulkley »

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.

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

#5 Post by Red »

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

Andruk Tatum
Posts: 18
Joined: 2006-04-06 23:39

Hmph.

#6 Post by Andruk Tatum »

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.

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

#7 Post by Red »

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!

Andruk Tatum
Posts: 18
Joined: 2006-04-06 23:39

Step 2...

#8 Post by Andruk Tatum »

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.

Grifter
Posts: 1554
Joined: 2006-05-04 07:53
Location: Svea Rike

#9 Post by Grifter »

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: 1554
Joined: 2006-05-04 07:53
Location: Svea Rike

#10 Post by Grifter »

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...

Post Reply