![]() ![]() sudo suįirst, we will create a Release file by running the following command: dpkg-scanpackages. ![]() I'll switch to the root user account because I'm using the /opt/local directory to skip using sudo. Step 4: Create the Required Repository Package Meta for APTįor this, we must run several dpkg-scanpackages commands. You can copy or download as many packages as you like in this step. Next, change directory: cd /opt/local/debs Step 3: Adding Packages to Local Repo Directoryįor the purpose of this tutorial, we will download the chrome-browser package to our local repository, because it is not found in the default Ubuntu repository: sudo wget For this example, we'll use /opt/local/debs, but you can use any directory you may like. Step 2: Create a Directory for Local RepositoryĬreate a directory to keep binary packages.
0 Comments
Leave a Reply. |