How Do I Create a Linux Package?
Contents How Do I Get Packages in Linux? How Do I See What Packages Are Installed on Ubuntu Linux? Open the Terminal Application or Log in to the Remote Server...
Contents
How do I get packages in Linux?
How do I see what packages are installed on Ubuntu Linux?
- Open the terminal application or log in to the remote server using ssh (e.g. ssh [email protected] )
- Run command apt list –installed to list all installed packages on Ubuntu.
- To display a list of packages satisfying certain criteria such as show matching apache2 packages, run apt list apache.
30 янв. 2021 г.
How do I create a .deb file?
The right way of building a deb package is using dpkg-buildpackage but sometimes it is a little bit complicated. Instead you can use dpkg -b <folder> and it will create your Debian package. Here is an example of the control file.