Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by blakecmartin (registered user) on Tue, 2007-12-18 19:38.

It's cleaner to add the repository as a separate file. So instead of

  • echo "deb http://www.linuxmint.com/repository romeo/" >>/etc/apt/sources.list

You could use something like

  • echo "deb http://www.linuxmint.com/repository romeo/" >>/etc/apt/sources.list.d/romeo.list

You could also use wget to download a premade romeo.list file to the appropriate location.

You could also pipe the output of the echo command into the tee command to create the list file. For example:

  •  echo "deb http://www.linuxmint.com/repository romeo/" | sudo tee /etc/apt/sources.list
Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.