Results 1 to 7 of 7

Thread: How do I edit my sources.list file?

  1. #1
    Join Date
    Dec 2004
    Beans
    25

    How do I edit my sources.list file?

    Ubuntu newbie here. I want to add a bunch of new repositories to Ubuntu but I can't seem to figure out how to edit the file itself. I can't log in as root in Ubuntu therefore I can't directly edit it and save like any other file. Can someone please show me how to do this? I'm sorry if it has been asked before, but I searched for sources.list and came up with nothing.

    Thanks in advance.

  2. #2
    Join Date
    Oct 2004
    Location
    Alkmaar, The Netherlands
    Beans
    44
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How do I edit my sources.list file?

    You can either fire up synaptic and go to "setting -> repositories" or edit the sources.list file by typing

    $ sudo gedit /etc/apt/sources.list

    Remember that Ubuntu does everything with "sudo" - that's your access to the root account

  3. #3
    Join Date
    Nov 2004
    Beans
    173

    Re: How do I edit my sources.list file?

    hello
    /etc/apt/sources.list
    if you have mc installed (sudo mc) then F4 you can easy pass or copy inside
    or more ubuntu way (maybe : sudo gedit /etc/apt/sources.list)

  4. #4
    Join Date
    Dec 2004
    Beans
    25

    Re: How do I edit my sources.list file?

    Thank you so much guys! I got it!

  5. #5
    AndyM8566 Guest

    Re: How do I edit my sources.list file?

    Quote Originally Posted by hypersonic5 View Post
    Thank you so much guys! I got it!

    chemistry Girls Credit Cards Loans demonstrate

  6. #6
    Ka7369 Guest

    Re: How do I edit my sources.list file?

    Quote Originally Posted by hypersonic5 View Post
    Thank you so much guys! I got it!

    chemistry Girls Credit Cards Loans demonstrate

  7. #7
    diablo2461 Guest

    Re: How do I edit my sources.list file?

    Quote Originally Posted by crun View Post
    You can either fire up synaptic and go to "setting -> repositories" or edit the sources.list file by typing

    $ sudo gedit /etc/apt/sources.list

    Remember that Ubuntu does everything with "sudo" - that's your access to the root account

    Yahoo build Rewards Cards skin treatment caffeine

Bookmarks

Posting Permissions

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