Find the answer to your Linux question:
Results 1 to 6 of 6
How do you generally install new programs on debian. I have just tried to install a web server. You may have read my other post. People were using the following ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    21

    installing new programs

    How do you generally install new programs on debian. I have just tried to install a web server. You may have read my other post.

    People were using the following method

    apt-get update
    apt-get install apache2

    When I trie dit it did not work. But that was maybe something to do with me messing about with the synaptic package manager. I may have installed some conflicting libraries.

    Will the above method work and sort out confluicting libraries

    I have a couple of things I wish to install.

    1. GIMP - as good a version i can get
    2. A search and replace program that can handle multiple files. Does anyone know of one that I can download.

  2. #2
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    Are you using root to run this command?

    Apt-get won't install things unless you are signed in as root, In Ubuntu you can use sudo, but I don't think that exists on a Debian system. Assuming you are relatively new to Linux, I'll tell you how to get in to the root account.

    Type: su[enter]
    give your root password[enter]
    do the things you'd like to do in root
    get the hell out of root by typing: logout[enter]

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    well I am signed in as root all the time at the moment. I changed the login so root coud sign in. I needed that to use apche. I could not write files in the directories where they needed to be written otherwise

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Here's the APT HowTo for installing packages under Debian:

    APT HOWTO - Managing packages

    It should have everything you need to know and more.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    951
    Quote Originally Posted by unclesirbobby View Post
    well I am signed in as root all the time at the moment. I changed the login so root could sign in. I needed that to use apche. I could not write files in the directories where they needed to be written otherwise
    I really wouldn't recommend that! It's so easy to do some damage to your system. The reason Linux has a root user is so that ordinary users don't need to have that kind of power. Always log in as yourself and use su to go to root like bemk suggests. Do what you can only do as root, then exit back to your normal user shell. Don't do anything as root that you don't absolutely need to. It's a good habit to get into.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  6. #6
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    If you have an unused computer available, like me, or a virtual machine, try installing Debian onto it and use root to remove /boot. There is a good chance that you won't be able any more to boot your system. That's why you shouldn't use root all the time. You might just change or remove files that are critical for your system when you are logged in as root.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •