Skip to content

Commit 58f9733

Browse files
author
James Hughes
committed
Change apt-get to apt
1 parent db66183 commit 58f9733

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+84
-84
lines changed

configuration/camera.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Although the connectors on the PCB and the Pi are different, they work in a simi
1313
Execute the following instructions on the command line to download and install the latest kernel, GPU firmware, and applications. You'll need an internet connection for this to work correctly.
1414

1515
```bash
16-
sudo apt-get update
17-
sudo apt-get upgrade
16+
sudo apt update
17+
sudo apt full-upgrade
1818
```
1919

2020
Now you need to enable camera support using the `raspi-config` program you will have used when you first set up your Raspberry Pi.

configuration/device-tree.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Trying again, this time using the original example and adding the `-@` option to
235235
dtc -@ -I dts -O dtb -o 1st.dtbo 1st-overlay.dts
236236
```
237237

238-
If `dtc` returns an error about the third line, it doesn't have the extensions required for overlay work. Run `sudo apt-get install device-tree-compiler` and try again - this time, compilation should complete successfully. Note that a suitable compiler is also available in the kernel tree as `scripts/dtc/dtc`, built when the `dtbs` make target is used:
238+
If `dtc` returns an error about the third line, it doesn't have the extensions required for overlay work. Run `sudo apt install device-tree-compiler` and try again - this time, compilation should complete successfully. Note that a suitable compiler is also available in the kernel tree as `scripts/dtc/dtc`, built when the `dtbs` make target is used:
239239
```
240240
make ARCH=arm dtbs
241241
```

configuration/external-storage.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ You can mount your storage device at a specific folder location. It is conventio
1919
4. The FSTYPE column contains the filesystem type. If your storage device uses an exFAT file system, install the exFAT driver:
2020
2121
```
22-
sudo apt-get update
23-
sudo apt-get install exfat-fuse
22+
sudo apt update
23+
sudo apt install exfat-fuse
2424
```
2525
5. If your storage device uses an NTFS file system, you will have read-only access to it. If you want to write to the device, you can install the ntfs-3g driver:
2626
2727
```
28-
sudo apt-get update
29-
sudo apt-get install ntfs-3g
28+
sudo apt update
29+
sudo apt install ntfs-3g
3030
```
3131
6. Run the following command to get the location of the disk partition:
3232
@@ -97,11 +97,11 @@ The 'target is busy' message means there are files on the storage device that ar
9797
9898
2. If you have a terminal open, make sure that you are not in the folder where the storage device is mounted, or in a sub-folder of it.
9999
100-
3. If you are still unable to unmount the storage device, you can use the `lsof` tool to check which program has files open on the device. You need to first install `lsof` using `apt-get`:
100+
3. If you are still unable to unmount the storage device, you can use the `lsof` tool to check which program has files open on the device. You need to first install `lsof` using `apt`:
101101
102102
```
103-
sudo apt-get update
104-
sudo apt-get install lsof
103+
sudo apt update
104+
sudo apt install lsof
105105
```
106106
To use lsof:
107107

configuration/pin-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Note that it may take a few seconds to get from stage 1 to stage 4. During that
2626

2727
## Providing a custom Device Tree blob
2828

29-
In order to compile a Device Tree source (`.dts`) file into a Device Tree blob (`.dtb`) file, the Device Tree compiler must be installed by running `sudo apt-get install device-tree-compiler`. The `dtc` command can then be used as follows:
29+
In order to compile a Device Tree source (`.dts`) file into a Device Tree blob (`.dtb`) file, the Device Tree compiler must be installed by running `sudo apt install device-tree-compiler`. The `dtc` command can then be used as follows:
3030

3131
```
3232
sudo dtc -I dts -O dtb -o /boot/dt-blob.bin dt-blob.dts

configuration/screensaver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add `consoleblank=0` to turn screen blanking off completely, or edit it to set t
2020
By default, the Raspberry Pi Desktop does not have any easy-to-use screensaver software installed, although the screensaver is enabled. Firstly, you should install the X Windows screensaver application.
2121

2222
```
23-
sudo apt-get install xscreensaver
23+
sudo apt install xscreensaver
2424
```
2525

2626
This may take a few minutes.

faqs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ It's important to keep your system up to date with the latest security updates,
282282

283283
+ `sudo apt update` will update the internal software database, so the system knows what the latest updates are
284284

285-
+ `sudo apt dist-upgrade` will then download all the updates and install them
285+
+ `sudo apt full-upgrade` will then download all the updates and install them
286286

287287
We recommend going through this process once a week or so.
288288

hardware/computemodule/cm-emmc-flashing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Do not power up yet.
4141
We will be using Git to get the rpiboot source code, so ensure Git is installed. In Cygwin, use the Cygwin installer. On a Pi or other Debian-based Linux machine, use the following command:
4242

4343
```bash
44-
sudo apt-get install git
44+
sudo apt install git
4545
```
4646

4747
Git may produce an error if the date is not set correctly. On a Raspberry Pi, enter the following to correct this:
@@ -62,7 +62,7 @@ cd usbboot
6262
`libusb` must be installed. If you are using Cygwin, please make sure `libusb` is installed as previously described. On the Raspberry Pi or other Debian-based Linux, enter the following command:
6363

6464
```bash
65-
sudo apt-get install libusb-1.0-0-dev
65+
sudo apt install libusb-1.0-0-dev
6666
```
6767

6868
Now build and install the `usbboot` tool:

hardware/computemodule/cm-peri-sw-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ It is useful on a running system to look at the state of each of the GPIO pins (
2525
Raspberry Pi provides the `raspi-gpio` package which is a tool for hacking and debugging GPIO (NOTE: you need to run it as root).
2626
To install `raspi-gpio`:
2727
```
28-
sudo apt-get install raspi-gpio
28+
sudo apt install raspi-gpio
2929
```
3030

31-
If `apt-get` can't find the `raspi-gpio` package, you will need to do an update first:
31+
If `apt` can't find the `raspi-gpio` package, you will need to do an update first:
3232
```
33-
sudo apt-get update
33+
sudo apt update
3434
```
3535

3636
To get help on `raspi-gpio`, run it with the `help` argument:
@@ -120,7 +120,7 @@ Some default overlay dts files live in `arch/arm/boot/dts/overlays`. Correspondi
120120

121121
Compiling these dts files to dtb files requires an up-to-date version of the Device Tree compiler `dtc`. More information can be found [here](../../configuration/device-tree.md), but the easy way to install an appropriate version on a Pi is to run:
122122
```
123-
sudo apt-get install device-tree-compiler
123+
sudo apt install device-tree-compiler
124124
```
125125

126126
If you are building your own kernel then the build host also gets a version in `scripts/dtc`. You can arrange for your overlays to be built automatically by adding them to `Makefile` in `arch/arm/boot/dts/overlays`, and using the 'dtbs' make target.

hardware/display/troubleshooting.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You can undo any previous use of `rpi-update` and get your Pi back to the latest
1616
to a network and running:
1717

1818
```bash
19-
sudo apt-get update
20-
sudo apt-get install --reinstall libraspberrypi0 libraspberrypi-{bin,dev,doc} raspberrypi-bootloader
19+
sudo apt update
20+
sudo apt install --reinstall libraspberrypi0 libraspberrypi-{bin,dev,doc} raspberrypi-bootloader
2121
sudo reboot
2222
```
2323

@@ -178,15 +178,15 @@ Once enabled, right click works by pressing and holding the touchscreen and will
178178
Install with:
179179

180180
```bash
181-
sudo apt-get install florence
181+
sudo apt install florence
182182
```
183183

184184
#### Matchbox Virtual Keyboard
185185

186186
Install like so:
187187

188188
```bash
189-
sudo apt-get install matchbox-keyboard
189+
sudo apt install matchbox-keyboard
190190
```
191191

192192
And then find in **Accessories** > **Keyboard**.

hardware/raspberrypi/booteeprom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ We recommend setting up your Pi so that it automatically updates the bootloader:
2727

2828
```
2929
sudo apt update
30-
sudo apt upgrade
30+
sudo apt full-upgrade
3131
sudo apt install rpi-eeprom
3232
```
3333

0 commit comments

Comments
 (0)