LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing VLC player... (https://www.linuxquestions.org/questions/linux-software-2/installing-vlc-player-762743/)

dhilip134 10-18-2009 07:04 AM

Installing VLC player...
 
1.How to install VLC player in Debian lenny vewrsion of linux...? What r the steps to install...?

2.How to give line indentation to the scripts using if,for,while,do,...etc loops in shell...?

3.How to create the path of the file and to export path globally...?

Someone help in this regard... I am a new user of the linux...


Warmly,
Dhilip Kumar.M

knudfl 10-18-2009 08:25 AM

All applications are installed with # apt-get install <package>

vlc : 1) su
2) apt-get install vlc

.. Or use the package manager 'synaptic'.

.....
And may be add this to /etc/apt/sources.list :
#DEBIAN MULTIMEDIA
deb http://www.debian-multimedia.org/ lenny main

Some libraries are to be found in this repo only.
.....

Elv13 10-18-2009 02:58 PM

#2 (indentation)
Use tab or space, it does not mater. Some editor like Kate have to indentation for bash.

#3 to export, use the "export" command. You can add it in your ~/.bashrc file to have it at boot. the path must look like:
/home/user/folder/file

craigevil 10-19-2009 02:45 AM

APT HOWTO - http://www.debian.org/doc/manuals/ap....html#contents
vlc is in the main debian repo. But you may want the debian-multimedia.org repo for other apps. My suggestion would be for you to get to know how to use Synaptic then aptitude.

A decent /etc/apt/sources.list that will give you most anything you will need would be something like:
Code:

#Stable
#deb http://http.us.debian.org/debian/ lenny main contrib non-free
#Stable Sources
#deb-src http://http.us.debian.org/debian/ lenny main contrib non-free
#Security Updates Stable
#deb http://security.debian.org/ lenny/updates main contrib non-free

# Debian Volatile http://www.debian.org/volatile/
# deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
# deb http://volatile.debian.org/debian-volatile lenny/volatile-sloppy main contrib non-free

# Debian Stable Backports
# http://www.backports.org/dokuwiki/doku.php?id=instructions
# apt-get install debian-backports-keyring
#deb http://www.backports.org/debian lenny-backports main contrib non-free

#Debian-multimedia.org apt-get install debian-multimedia-keyring
# deb http://www.debian-multimedia.org lenny  main


lutusp 10-19-2009 03:47 AM

Quote:

Originally Posted by dhilip134 (Post 3723680)
1.How to install VLC player in Debian lenny vewrsion of linux...? What r the steps to install...?

2.How to give line indentation to the scripts using if,for,while,do,...etc loops in shell...?

3.How to create the path of the file and to export path globally...?

Someone help in this regard... I am a new user of the linux...


Warmly,
Dhilip Kumar.M

You have answers for most, but:

Quote:

Originally Posted by dhilip134 (Post 3723680)
2.How to give line indentation to the scripts using if,for,while,do,...etc loops in shell...?

I have an application that does this: Bash Script Beautifier


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