User Tools

Site Tools


en:howto:howto-connectsynaptictoserver

HOWTO: Connect Synaptic Package Manager to the LAN Repository

On the client computer

Modify the repository list

Modify

/etc/apt/sources.list

with a text editor as root (superuser). The example below uses gedit, but you may use nano or another text editor of your choice.

  • Become superuser:
    su
  • Make a backup copy:
    cp /etc/apt/sources.list /etc/apt/sources.list.YYYYMMDD
  • Open sources.list for modification:
    gedit /etc/apt/sources.list
  • Add the appropriate lines to connect to the local server:
    deb [trusted=yes] http://192.168.0.101/debian12/Deb-64bit-disc_1/ bookworm main
    deb [trusted=yes] http://192.168.0.101/debian12/Deb-64bit-disc_2/ bookworm main
    deb [trusted=yes] http://192.168.0.101/debian12/Deb-64bit-disc_3/ bookworm main
    ...
    deb [trusted=yes] http://192.168.0.101/debian12/Deb-64bit-disc_21/ bookworm main
  • Save the modified document.

Update package list

Use one of the following methods:

In Synaptic

  • Open Synaptic Package Manager.
  • Click Reload to update the list of available packages.

In terminal

  • As superuser:
    apt update

Now you can install or uninstall packages as needed.

en/howto/howto-connectsynaptictoserver.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki