Scala를 제거할 수 없습니다.

Scala를 제거할 수 없습니다.

cs setupScala 웹사이트에 설명된 대로 Scala를 설치했습니다 .https://www.scala-lang.org/download/

이제 어떤 이유로든 제거할 수 없습니다. 시도했지만 sudo apt-get purge scala" sudo apt-get remove scala패키지 'scala'가 설치되지 않았으므로 제거되지 않았습니다."라고 출력됩니다. 그러나 명령은 scala계속 작동합니다.

스칼라를 어떻게 제거할 수 있나요?

답변1

연결한 지침에 따르면

cs setupScala를 설치하려면 Coursier에서 제공하는 Scala 설치 프로그램을 사용하는 것이 좋습니다 .

동일한 cs프로그램을 사용해도 됩니다.유엔소프트웨어를 설치합니다. 내장된 도움말을 호출하여 확인할 수 있습니다.

$ ./cs --help
Usage: ./cs <COMMAND>
Coursier is the Scala application and artifact manager.
It can install Scala applications and setup your Scala development environment.
It can also download and cache artifacts from the web.

Install application commands:
  install    Install an application from its descriptor.
  list       List all currently installed applications.
  setup      Setup a machine for Scala development.
  uninstall  Uninstall one or more applications.
  update     Update one or more applications.

Application channel commands:
  channel  Manage additional channels, used by coursier to resolve application descriptors.
  search   Search application names from known channels.

Java commands:
  java       Manage installed JVMs and run java.
  java-home  Print the home directory of a particular JVM.

Launcher commands:
  bootstrap  Create a binary launcher from a dependency or an application descriptor.
  launch     Launch an application from a dependency or an application descriptor.

Resolution commands:
  fetch    Transitively fetch the JARs of one or more dependencies or an application.
  resolve  Resolve and print the transitive dependencies of one or more dependencies or an application.

Other commands:
  version  Prints the coursier version

그리고

$ ./cs uninstall --help
Usage: ./cs uninstall [options] [app-name*]
Uninstall one or more applications.
The given name must be the application executable name, which may differ from the descriptor name.

Examples:
$ cs uninstall amm
$ cs uninstall bloop scalafix
$ cs uninstall --all

Help options:
  --usage                                        Print usage and exit
  -h, -help, --help                              Print help message and exit
  -help-full, -full-help, --help-full, --full-help  Print help message, including hidden options, and exit

Uninstall options:
  --dir, --install-dir string?
  --all
  -q, --quiet                   Quiet output
  -v, --verbose                 Increase verbosity (specify several times to increase more)

자세한 내용은 다음을 참조하세요.제거섹션택배 서류

관련 정보