aboutcode-org / aboutcode-org/scancode-toolkit

Please fix Install command for ubuntu on document

未關閉
#4,569 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### Description

> In [Comprehensive Installation > Before Installing > Prerequisites ](https://scancode-toolkit.readthedocs.io/en/stable/getting-started/install.html#app-install), install command for ubuntu 16, 18, 20 ,22 and 24 is wrong.
On ubuntu we use python3-dev instead of python-dev. Please fix command line for Ubuntu.

#### wrong command

```bash
sudo apt install python-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev libpopt0
```
- Someone may look command for Ubuntu but not see it.
- because python-dev is missing, this generates some error.

#### right command

```bash
sudo apt install python3-dev bzip2 xz-utils zlib1g libxml2-dev libxslt1-dev libpopt0
```

- please use python3-dev for python3
- Just copy and paste it, run

### How To Reproduce

> Tell us how to reproduce the issue.

1. Go to [Comprehensive Installation > Before Installing > Prerequisites ](https://scancode-toolkit.readthedocs.io/en/stable/getting-started/install.html#app-install).
2. See that section.

### System configuration

> For bug reports, it really helps us to know:

* What OS are you running on? Ubuntu 24.04
* What version of scancode-toolkit was used to generate the scan file? latest package in Ubuntu (not effetced)
* What installation method was used to install/run scancode? apt

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。