LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Console (terminal) Commands ? (https://www.linuxquestions.org/questions/linux-newbie-8/console-terminal-commands-377487/)

sonsuzuncu 10-27-2005 01:13 PM

Console (terminal) Commands ?
 
i'm newbie. this is my first usage of linux.

i'm using ubuntu 5.10 breezy badger. i don't know console commands, especially about tar.bz2, tar.gz, .deb, chmod 777 or 755, cd , cp etc. generally what are the console commands for source ?

for example i downloaded source, codecs, fonts and documents for mplayer , they are tar.bz2 and tar.gz files, what commands should i use to play mplayer , in terminal (console) ?

if you know how can i learn these commands basically, give me some advice.

thanks.

Moloko 10-27-2005 01:47 PM

bz2 files: bunzip2 [file]
tar files: tar xvf [file]
tar.gz or .tgz: tar zxvf [file]
.deb: dpkg -i [file] (local install)

Learn how to use the man pages and use them!

man bunzips, man tar, man dpkg etc.

Learn the basics and leave compiling sources alone for a while ;)

sonsuzuncu 10-27-2005 02:28 PM

Quote:

Originally posted by Moloko
bz2 files: bunzip2 [file]
tar files: tar xvf [file]
tar.gz or .tgz: tar zxvf [file]
.deb: dpkg -i [file] (local install)

Learn how to use the man pages and use them!

man bunzips, man tar, man dpkg etc.

thanks for your advices. :)

these commands. this is yet ? i'll want to learn more commands.


Quote:

Learn the basics and leave compiling sources alone for a while ;) [/B]
i'm using Syndication Package Management if i need, but sometimes i need compiling sources. i think i'll love, like compiling, if i learn completely . ( i really love terminal screen. )


so, can anybody give me advices about learn completely compiling.

thanks. :)

Moloko 10-27-2005 06:31 PM

For the love of the terminal:

General rules:
unpack the source files
cd [source]
./configure
make
make install

The trouble usually begins with the configure stage. You need to watch the onscreen messages if there are dependencies you don't meet. Next, some programs require additional parameters during configure, other during make or during make install. Always read the directions included in the source.

Since you're on Ubuntu you also want to know how to compile deb packages or how to use checkinstall. Google is your friend.


All times are GMT -5. The time now is 07:21 PM.