{"id":18801828,"url":"https://github.com/yaphott/ubuntu-config-scripts","last_synced_at":"2026-01-04T17:30:15.140Z","repository":{"id":193839180,"uuid":"531301186","full_name":"yaphott/ubuntu-config-scripts","owner":"yaphott","description":"Development environment configuration scripts for Ubuntu Desktop (22.04)","archived":false,"fork":false,"pushed_at":"2023-09-17T01:24:46.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T19:58:18.138Z","etag":null,"topics":["configuration","developer-environment","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaphott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-01T00:08:31.000Z","updated_at":"2022-11-29T13:06:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"177feb54-6c80-4d6a-943b-d00e35b591fc","html_url":"https://github.com/yaphott/ubuntu-config-scripts","commit_stats":null,"previous_names":["yaphott/ubuntu-config-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaphott%2Fubuntu-config-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaphott%2Fubuntu-config-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaphott%2Fubuntu-config-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaphott%2Fubuntu-config-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaphott","download_url":"https://codeload.github.com/yaphott/ubuntu-config-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239734644,"owners_count":19688257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","developer-environment","ubuntu"],"created_at":"2024-11-07T22:25:25.411Z","updated_at":"2026-01-04T17:30:15.085Z","avatar_url":"https://github.com/yaphott.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ubuntu-config-scripts\n\nDevelopment environment configuration scripts for Ubuntu Desktop (22.04).\n\n**Not intended for production. Use at your own risk!**\n\n**Goal:** Reduce the time it takes to configure a new Ubuntu Desktop environment for software development.\n\n![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\u0026logo=ubuntu\u0026logoColor=white)\n\n## Usage\n\n1. Clone the repo:\n\n    ```bash\n    git clone https://github.com/yaphott/ubuntu-config-scripts.git\n    ```\n\n2. Run the script:\n\n    ```bash\n    cd ubuntu-config-scripts\n    bash ./run.sh\n    ```\n\n3. A system upgrade will commence and the **system will prompt to reboot**.\n4. After rebooting, **run the script once more and respond to any prompts**.\n\n## Testing with Vagrant\n\nTesting occurs in 2 steps.\n\n1. Provision a base box and create a snapshot.\n2. Restore the snapshot and run the configuration scripts.\n\nCreating the snapshot reduces the overall time needed to test the configuration scripts in a clean environment.\n\nFirst time (base box + main box):\n\n```bash\nmake test-cold\n```\n\nSubsequent times (main box):\n\n```bash\nmake test-hot\n```\n\n\u003e **Note**: Password for the user is `vagrant`.\n\n### Convenience Scripts\n\n#### `bin/utils/add_keyring.sh`\n\nAdd a keyring to the system by providing a URL to the keyring and the complete desired path to the keyring file.\n\n```bash\nsudo add_keyring.sh \u003ckey URL\u003e \u003ckeyring path\u003e\n```\n\nFor example:\n\n```bash\ncd ./bin/utils\nsudo bash add_keyring.sh https://example.com/apt/keys.asc \\\n    /etc/apt/keyrings/example-keyring.gpg\n```\n\n#### `bin/utils/add_repository.sh`\n\nAdd a repository to the system by providing the **key URL**, **distribution**, **components**, and the **destination path for the list file**.\n\n```bash\nsudo add_repository.sh \u003ckey options\u003e \u003ckey URL\u003e \u003cdistribution\u003e \u003ccomponents\u003e \u003clist file path\u003e\n```\n\nFor example, if there is **one component**:\n\n```bash\ncd ./bin/utils\nsudo add_repository.sh \"arch=amd64 signed-by=/etc/apt/keyrings/example-keyring.gpg\" \\\n    https://example.com/example-pub.gpg \\\n    stable \\\n    main \\\n    /etc/apt/sources.list.d/example.list\n```\n\nOr if there are **multiple components**:\n\n```bash\ncd ./bin/utils\nsudo add_repository.sh \"arch=amd64 signed-by=/etc/apt/keyrings/example-keyring.gpg\" \\\n    https://example.com/example-pub.gpg \\\n    stable \\\n    \"main contrib non-free\" \\\n    /etc/apt/sources.list.d/example.list\n```\n\nOr if there are **no components**:\n\n```bash\ncd ./bin/utils\nsudo add_repository.sh \"arch=amd64 signed-by=/etc/apt/keyrings/example-keyring.gpg\" \\\n    https://example.com/example-pub.gpg \\\n    stable \\\n    none \\\n    /etc/apt/sources.list.d/example.list\n```\n\n\u003e See [Ubuntu Manpage: `sources.list`](https://manpages.ubuntu.com/manpages/xenial/man5/sources.list.5.html) for more information on the format of the list file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaphott%2Fubuntu-config-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaphott%2Fubuntu-config-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaphott%2Fubuntu-config-scripts/lists"}