Merge pull request #188 from wand3rlust/master

Update kali.md
This commit is contained in:
Ivan 2022-05-15 05:15:52 +00:00 committed by GitHub
commit 552efa664c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,10 +83,10 @@ $ qvm-clone debian-<X> kali-rolling
# sed -i 's/<current stable>/<current testing>/g' /etc/apt/sources.list.d/qubes-r<X>.list # sed -i 's/<current stable>/<current testing>/g' /etc/apt/sources.list.d/qubes-r<X>.list
``` ```
e.g. in this example we update `buster` stable repository to `bullseye` testing repository e.g. in this example we update `bullseye` stable repository to `bookworm` testing repository
```shell_session ```shell_session
# sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/qubes-r<X>.list # sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/qubes-r<X>.list
``` ```
4. Enable the QubesOS `testing` and `securitytesting` repositories 4. Enable the QubesOS `testing` and `securitytesting` repositories
@ -105,10 +105,11 @@ $ qvm-copy kali-key.asc
6. Add the Kali PGP key to the list of keys trusted to authenticate packages: 6. Add the Kali PGP key to the list of keys trusted to authenticate packages:
```shell_session ```shell_session
# cat /home/user/QubesIncoming/dispXXX/kali-key.asc | apt-key add - # cd /home/user/QubesIncoming/dispXXX && gpg --dearmor kali-key.asc
# cp kali-key.asc.gpg /etc/apt/trusted.gpg.d/kali-key.gpg
``` ```
This command should return: `OK`.
7. Replace Debian repositories with Kali repository 7. Replace Debian repositories with Kali repository
@ -116,8 +117,11 @@ $ qvm-copy kali-key.asc
# echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list # echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list
``` ```
8. Replace `gcc8` to work around a dependency issue 8. Replace conflicted packages to work around dependency issues
```shell_session
# apt-get remove <existing_package> && apt-get install <required_package>
```
e.g. in this example we replace `gcc8` with `gcc6`
```shell_session ```shell_session
# apt-get remove libgcc-8-dev && apt-get install libc6-dev # apt-get remove libgcc-8-dev && apt-get install libc6-dev
``` ```
@ -141,7 +145,7 @@ $ qvm-run -a kali-rolling gnome-terminal
Install the Kali tools Install the Kali tools
------------------------------ ------------------------------
At this point you should have a working template and you can install the tools you need. At this point you should have a working template and you can install the tools you need.
You can find [a list of Kali Linux `Metapackages` here](https://tools.kali.org/kali-metapackages) You can find [a list of Kali Linux `Metapackages` here](https://www.kali.org/tools/kali-meta/)
Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image] Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image]
Fix Qubes PulseAudio (audio and microphone) Fix Qubes PulseAudio (audio and microphone)